﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PhotoGallery.Models
{
    /// <summary>
    /// 获取名称名称及其照片数量
    /// </summary>
    public class AlbumsNameResult
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="name">名称名称</param>
        /// <param name="count">数量</param>
        public AlbumsNameResult(string name,int count)
        {
            AlbumName = name;
            AlbumCount = count;
        }
        /// <summary>
        /// 名称名称
        /// </summary>
        public string AlbumName { get; set; }

        /// <summary>
        /// 名称中照片数量
        /// </summary>
        public int AlbumCount { get; set; }
    }
}
